import request from '@/axios/axios.js'

// 分页查询
export const queryPage = (params) => {
    return request({
        url: '/dms/org_params/queryPage',
        method: 'post',
        params: params
    })
}

// 新增
export const add = (data) => {
    return request({
        url: '/dms/org_params/add',
        method: 'post',
        data
    })
}

// 编辑
export const edit = (data) => {
    return request({
        url: '/dms/org_params/edit',
        method: 'post',
        data
    })
}

// 删除
export const deleted = (data) => {
    return request({
        url: '/dms/org_params/delete',
        method: 'post',
        data
    })
}